<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="VectorX">
    <meta name="keywords" content="背景">
    <title>背景</title>
    <style>
        a:link {
            /* 因为本身是行内元素，变成块元素更方便设置宽高 */
            display: block;
            width: 93px;
            height: 29px;
            background: url("/assets/背景/练习2-背景/link.png");
        }

        a:hover {
            background: url("/assets/背景/练习2-背景/hover.png");
        }

        a:active {
            background: url("/assets/背景/练习2-背景/active.png");
        }
    </style>
</head>

<body>
    <a href="javascript:;"></a>
</body>

</html>